home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Games / NetHack 3.1.3 / source / sys / unix / Makefile.src < prev    next >
Encoding:
Makefile  |  1993-08-01  |  24.1 KB  |  642 lines  |  [TEXT/R*ch]

  1. #    NetHack Makefile.
  2. #    SCCS Id: @(#)Makefile.src    3.1    93/01/25
  3.  
  4. # newer makes predefine $(MAKE) to 'make' and do smarter processing of
  5. # recursive make calls if $(MAKE) is used
  6. # these makes allow $(MAKE) to be overridden by the environment if someone
  7. # wants to (or has to) use something other than the standard make, so we do
  8. # not want to unconditionally set $(MAKE) here
  9. #
  10. # unfortunately, some older makes do not predefine $(MAKE); if you have one of
  11. # these, uncomment the following line
  12. # (you will know that you have one if you get complaints about being unable
  13. # to find 'makedefs')
  14. # MAKE = make
  15.  
  16. # This makefile replaces the previous Makefile.unix, Makefile.xenix,
  17. # Makefile.3B2, Makefile.att, and Makefile.tos.
  18. # Set SYSTEM to one of:
  19. #    'Sysunix'    -- generic UNIX
  20. #    'Sys3B2'    -- AT&T 3B2, 3B5, etc.
  21. #    'Sysatt'    -- AT&T UNIXPC, 7300, 3B1
  22. #    'SysV-AT'    -- Microport 286 UNIX (put -DDUMB in CFLAGS)
  23. #    'Systos'    -- Atari
  24. SYSTEM = Sysunix
  25.  
  26. #
  27. # Make sure that your bourne shell is specified here, as you have to spawn
  28. # some of the commands (eg. depend) in bourne shell for them to work.
  29. #
  30. # For Systos users compiling on the ST, you'll either need a bourne shell
  31. # clone or you'll need to do make depend, etc. by hand. In either case,
  32. # the line below probably needs changing
  33. SHELL=/bin/sh
  34.  
  35. # Pick the SYSSRC and SYSOBJ lines corresponding to your desired operating
  36. # system.
  37. #
  38. # for UNIX systems
  39. SYSSRC = ../sys/unix/ioctl.c ../sys/unix/unixmain.c ../sys/unix/unixtty.c \
  40.     ../sys/unix/unixunix.c
  41. SYSOBJ = ioctl.o unixmain.o unixtty.o unixunix.o
  42. #
  43. # for Systos
  44. # SYSSRC = ../sys/atari/tos.c ../sys/share/pcmain.c ../sys/share/pcsys.c \
  45. #    ../sys/share/pctty.c ../sys/share/pcunix.c
  46. # SYSOBJ = tos.o pcmain.o pcsys.o pctty.o pcunix.o
  47.  
  48.  
  49. # if you are using gcc as your compiler:
  50. #    uncomment the CC definition below if it's not in your environment
  51. #    if you get setcgtty() warnings during execution, you are feeding gcc
  52. #        a non-ANSI <sys/ioctl.h> -- either run fixincludes on it or use
  53. #        -traditional in CFLAGS
  54. # CC = gcc
  55. #
  56. #    For Bull DPX/2 systems at B.O.S. 2.0 or higher use the following:
  57. #
  58. # CC = gcc -ansi -D_BULL_SOURCE -D_XOPEN_SOURCE -D_POSIX_SOURCE
  59. #    If you are using GCC 2.2.2 or higher on a DPX/2, just use:
  60. #
  61. # CC = gcc -ansi
  62. #
  63. # if you're debugging and want gcc to check as much as possible, use:
  64. # CC = gcc -W -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -DGCC_WARN
  65.  
  66. # flags may have to be changed as required
  67. # flags for 286 Xenix:
  68. # CFLAGS = -Ml2t16 -O -LARGE -I../include
  69. # LFLAGS = -Ml -F 4000 -SEG 512
  70.  
  71. # flags for 286 Microport SysV-AT
  72. # CFLAGS = -DDUMB -Ml -I../include
  73. # LFLAGS = -Ml
  74.  
  75. # flags for Atari gcc
  76. # CFLAGS = -O -I../include
  77. # LFLAGS = -s
  78.  
  79. # flags for AIX 3.1 cc on IBM RS/6000 to define
  80. # a suitable subset of standard libraries
  81. # (note that there is more info regarding the "-qchars=signed"
  82. # switch in file Install.unx note 8)
  83. # CFLAGS = -D_NO_PROTO -D_XOPEN_SOURCE -O -I../include -qchars=signed
  84.  
  85. # flags for A/UX 2.01 using native cc or c89
  86. # gcc predefines AUX so that's not needed there
  87. # Remember to use -lcurses for WINLIB below !
  88. # CFLAGS = -ZS -D_POSIX_SOURCE -O -I../include -DAUX
  89.  
  90. # flags for debugging:
  91. # CFLAGS = -g -I../include
  92.  
  93. CFLAGS = -g -I../include
  94. LFLAGS =
  95.  
  96.  
  97. # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
  98. # combination of windowing systems.  Also set windowing systems in config.h.
  99. #
  100. # files for a straight tty port using no native windowing system
  101. WINTTYSRC = ../win/tty/getline.c ../win/tty/termcap.c ../win/tty/topl.c \
  102.     ../win/tty/wintty.c
  103. WINTTYOBJ = getline.o termcap.o topl.o wintty.o
  104. #
  105. # files for an X11 port
  106. WINX11SRC = ../win/X11/Window.c ../win/X11/dialogs.c ../win/X11/winX.c \
  107.     ../win/X11/winmap.c  ../win/X11/winmenu.c ../win/X11/winmesg.c \
  108.     ../win/X11/winmisc.c ../win/X11/winstat.c ../win/X11/wintext.c \
  109.     ../win/X11/winval.c
  110. WINX11OBJ = Window.o dialogs.o winX.o winmap.o winmenu.o winmesg.o \
  111.     winmisc.o winstat.o wintext.o winval.o
  112. #
  113. WINSRC = $(WINTTYSRC)
  114. WINOBJ = $(WINTTYOBJ)
  115.  
  116. # on some systems the termcap library is in -ltermcap or -lcurses
  117. # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
  118. # Sysatt uses shared library in lieu of this option
  119. # Systos needs -lcurses16 if you use -mshort
  120. # AIX 3.1 on RS/6000 likes -lcurses if TERMINFO defined in config.h
  121. # and -ltermcap otherwise
  122. # Linux uses -ltermcap
  123. #
  124. # libraries for tty ports
  125. # WINTTYLIB = -ltermcap
  126. # WINTTYLIB = -lcurses
  127. # WINTTYLIB = -lcurses16
  128. WINTTYLIB = -ltermlib
  129. #
  130. # libraries for X11
  131. WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
  132. # WINX11LIB = -lXaw -lXmu -lXt -lX11
  133. #
  134. #
  135. WINLIB = $(WINTTYLIB)
  136.  
  137. # any other strange libraries your system needs (for Sysunix only -- the more
  138. # specialized targets should already be right)
  139. #
  140. # on HP-UX, the malloc(3x) routines in libmalloc.a seem to align things
  141. # better than the malloc(3) ones in libc.a
  142. # LIBS = -lmalloc
  143. #
  144. # DPX/2's also use the malloc(3x) routines.  In addition, if you are building
  145. # for X11, you must include libinet.a.
  146. # LIBS = -lmalloc -linet
  147. #
  148. # Linux NetHack uses some bsd style ioctl functions, thus it is necessary to
  149. # use the bsd libs.
  150. # LIBS = -lbsd
  151. LIBS =
  152.  
  153. # make NetHack
  154. GAME     = nethack
  155.  
  156. # if you defined RANDOM in unixconf.h/tosconf.h since your system did not come
  157. # with a reasonable random number generator
  158. # RANDOBJ = random.o
  159. RANDOBJ =
  160.  
  161.  
  162.  
  163. # ----------------------------------------
  164. #
  165. # Nothing below this line should have to be changed.
  166. #
  167. # Other things that have to be reconfigured are in config.h,
  168. # {unixconf.h, pcconf.h, tosconf.h}, and possibly system.h
  169.  
  170. MAKEDEFS = ../util/makedefs
  171.  
  172. # all .c that are part of the main NetHack program and are not operating- or
  173. # windowing-system specific
  174. HACKCSRC = allmain.c alloc.c apply.c artifact.c attrib.c ball.c bones.c\
  175.        botl.c cmd.c dbridge.c decl.c detect.c display.c do.c do_name.c\
  176.        do_wear.c dog.c dogmove.c dokick.c dothrow.c drawing.c dungeon.c\
  177.        eat.c end.c engrave.c exper.c explode.c extralev.c files.c\
  178.        fountain.c hack.c hacklib.c invent.c lock.c mail.c makemon.c\
  179.        mcastu.c mhitm.c mhitu.c minion.c mklev.c mkmap.c mkmaze.c\
  180.        mkobj.c mkroom.c mon.c mondata.c monmove.c monst.c mplayer.c\
  181.        mthrowu.c muse.c music.c o_init.c objects.c objnam.c options.c\
  182.        pager.c pickup.c pline.c polyself.c potion.c pray.c priest.c\
  183.        quest.c questpgr.c read.c rect.c restore.c rip.c rnd.c rumors.c\
  184.        save.c shk.c shknam.c sit.c sounds.c sp_lev.c spell.c steal.c\
  185.        timeout.c topten.c track.c trap.c u_init.c uhitm.c vault.c\
  186.        version.c vision.c weapon.c were.c wield.c windows.c wizard.c\
  187.        worm.c worn.c write.c zap.c
  188.  
  189. # all operating-system-dependent .c (for dependencies and such)
  190. SYSCSRC = ../sys/atari/tos.c ../sys/share/pcmain.c ../sys/share/pcsys.c \
  191.     ../sys/share/pctty.c ../sys/share/pcunix.c ../sys/share/random.c \
  192.     ../sys/unix/ioctl.c ../sys/unix/unixmain.c ../sys/unix/unixtty.c \
  193.     ../sys/unix/unixunix.c
  194.  
  195. # all windowing-system-dependent .c (for dependencies and such)
  196. WINCSRC = $(WINTTYSRC) $(WINX11SRC)
  197.  
  198. # .c files for this version (for date.h)
  199. VERSOURCES = $(HACKCSRC) $(SYSSRC) $(WINSRC) monstr.c vis_tab.c
  200.  
  201. # .c files for all UNIX versions (for lint and tags)
  202. CSOURCES = $(HACKCSRC) $(SYSSRC) $(WINCSRC) monstr.c vis_tab.c
  203.  
  204.  
  205. # all .h files except date.h, onames.h, pm.h, and vis_tab.h which would
  206. # cause dependency loops if run through "make depend"
  207. # and dgn_comp.h, dgn_file.h, lev_comp.h, special level & dungeon files.
  208. #
  209. HACKINCL = align.h amiconf.h artifact.h artilist.h attrib.h color.h config.h\
  210.        coord.h decl.h def_os2.h display.h dungeon.h edog.h emin.h engrave.h\
  211.        epri.h eshk.h extern.h flag.h func_tab.h global.h hack.h lev.h\
  212.        macconf.h mfndpos.h micro.h mkroom.h monattk.h mondata.h monflag.h\
  213.        monst.h monsym.h obj.h objclass.h os2conf.h patchlevel.h pcconf.h\
  214.        permonst.h prop.h rect.h rm.h sp_lev.h spell.h system.h termcap.h\
  215.        tosconf.h tradstdc.h trampoli.h trap.h unixconf.h vault.h vision.h\
  216.        vmsconf.h wintty.h winX.h winprocs.h wintype.h you.h youprop.h
  217.  
  218. HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h\
  219.         lev_comp.h dgn_comp.h dgn_file.h
  220.  
  221. # the following .o's _must_ be made before any others (for makedefs)
  222. FIRSTOBJ = monst.o objects.o
  223.  
  224. HOBJ = $(FIRSTOBJ) allmain.o alloc.o apply.o artifact.o attrib.o ball.o\
  225.     bones.o botl.o cmd.o dbridge.o decl.o detect.o display.o do.o\
  226.     do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o\
  227.     dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o\
  228.     files.o fountain.o hack.o hacklib.o invent.o lock.o mail.o\
  229.     makemon.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o\
  230.     mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o monstr.o\
  231.     mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o\
  232.     pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o\
  233.     quest.o questpgr.o read.o rect.o restore.o rip.o rnd.o rumors.o\
  234.     save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o steal.o\
  235.     timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o\
  236.     vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o\
  237.     worm.o worn.o write.o zap.o\
  238.     $(RANDOBJ) $(SYSOBJ) $(WINOBJ) version.o
  239. # the .o files from the HACKCSRC, SYSSRC, and WINSRC lists
  240.  
  241. $(GAME):    $(SYSTEM)
  242.     @echo "$(GAME) is up to date."
  243.  
  244. Sysunix:    $(HOBJ) Makefile
  245.     @echo "Loading ..."
  246.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB) $(LIBS)
  247.     @touch Sysunix
  248.  
  249. Sys3B2:    $(HOBJ) Makefile
  250.     @echo "Loading ..."
  251.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB) -lmalloc
  252.     @touch Sys3B2
  253.  
  254. Sysatt:    $(HOBJ) Makefile
  255.     @echo "Loading ..."
  256.     @$(LD) $(LFLAGS) /lib/crt0s.o /lib/shlib.ifile -o $(GAME) $(HOBJ)
  257.     @touch Sysatt
  258.  
  259. Systos:    $(HOBJ) Makefile
  260.     @echo "Loading ..."
  261.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB)
  262.     @touch Systos
  263.  
  264. SysV-AT:    DUMB.Setup $(HOBJ) Makefile
  265.     @echo "Loading ..."
  266.     @$(CC) $(LFLAGS) -o $(GAME) $(HOBJ) $(WINLIB)
  267.     @touch SysV-AT
  268.  
  269. DUMB.Setup:    ../include/extern.h
  270.     cp ../include/extern.h ../include/extern.h.BAK 
  271.     cat ../include/extern.h | \
  272.         sed -e '/^E\ int\ /!b' \
  273.             -e '/[^;/     ]$$/N' \
  274.             -e '/[(][*]occupation[)]/b' \
  275.             -e '/[(][*]afternmv[)]/b' \
  276.             -e '/float_down/b' \
  277.             -e '/done1/b' \
  278.             -e '/identify/b' \
  279.             -e '/Hear_again/b' \
  280.             -e '/hangup/b' \
  281.             -e 's/^\(.*\)$$/\/\* \1 \/\*\*\//' | \
  282.         sed -e '/^E\ void\ /!b' \
  283.             -e '/[^;/     ]$$/N' \
  284.             -e 's/^\(.*\)$$/\/\* \1 \/\*\*\//' \
  285.                 >../include/extern.DUMB 
  286.     cp ../include/extern.DUMB ../include/extern.h 
  287.     @touch DUMB.Setup
  288.  
  289. all:    $(GAME)
  290.  
  291.  
  292. #    dependencies for makedefs and its outputs, which the util
  293. #    Makefile is responsible for keeping up to date
  294. #
  295.  
  296. # special rules, to force update of makedefs, real dependencies should be
  297. # below in the 'make depend' output.
  298. monst.o:
  299.     $(CC) $(CFLAGS) -c monst.c
  300.     @rm -f $(MAKEDEFS)
  301.  
  302. objects.o:
  303.     $(CC) $(CFLAGS) -c objects.c
  304.     @rm -f $(MAKEDEFS)
  305.  
  306. # need those include files not in monst.c/objects.c dependencies below
  307. $(MAKEDEFS): ../util/makedefs.c  ../include/artilist.h ../include/patchlevel.h \
  308.         ../include/qtext.h
  309.     @( cd ../util ; $(MAKE) makedefs)
  310.  
  311. ../include/onames.h: $(MAKEDEFS)
  312.     @( cd ../util ; $(MAKE) ../include/onames.h )
  313. ../include/pm.h: $(MAKEDEFS)
  314.     @( cd ../util ; $(MAKE) ../include/pm.h )
  315. monstr.c: $(MAKEDEFS)
  316.     @( cd ../util ; $(MAKE) ../src/monstr.c )
  317. ../include/vis_tab.h: $(MAKEDEFS)
  318.     @( cd ../util ; $(MAKE) ../include/vis_tab.h )
  319. vis_tab.c: $(MAKEDEFS)
  320.     @( cd ../util ; $(MAKE) ../src/vis_tab.c )
  321.  
  322. #    date.h should be remade any time any of the source or include code
  323. #    is modified.  Unfortunately, this would make the contents of this
  324. #    file far more complex.  Since "hack.h" depends on most of the include
  325. #    files, we kludge around this by making date.h dependent on hack.h,
  326. #    even though it doesn't include this file.
  327. #
  328. #    hack.h depends on makedefs' output, so we know makedefs will be
  329. #    up to date before being executed
  330. ../include/date.h:    $(VERSOURCES) ../include/hack.h
  331.     ( cd ../util ; $(MAKE) ../include/date.h )
  332.  
  333.  
  334. lint:
  335. # lint cannot have -p here because (i) capitals are meaningful:
  336. # [Ww]izard, (ii) identifiers may coincide in the first six places:
  337. # doweararm() versus dowearring().
  338. # _flsbuf comes from <stdio.h>, a bug in the system libraries.
  339.     @echo lint -axbh -DLINT ...
  340.     @lint -axbh -I../include -DLINT $(CSOURCES) | sed '/_flsbuf/d'
  341.  
  342.  
  343. tags: $(CSOURCES)
  344.     @echo ctags -tw ...
  345.     @ctags -tw $(CSOURCES)
  346.     @( cd ../include ; ctags -tw $(HSOURCES) )
  347.     @( cd ../util ; $(MAKE) tags )
  348.  
  349. clean:
  350.     rm -f *.o
  351.  
  352. spotless: clean
  353.     rm -f a.out core $(GAME) Sys*
  354.     rm -f ../include/date.h ../include/onames.h ../include/pm.h
  355.     rm -f monstr.c ../include/vis_tab.h vis_tab.c
  356.  
  357.  
  358. depend:
  359. # For the moment we are lazy and disregard /usr/include files because
  360. # the sources contain them conditionally. Perhaps we should use cpp.
  361. #        ( /bin/grep '^#[     ]*include' $$i | sed -n \
  362. #            -e 's,<\(.*\)>,"/usr/include/\1",' \
  363. #
  364. # extern.h is ignored, even though its declared function types may affect the
  365. # compilation of all the .c files, since extern.h changes every time the
  366. # type of an external function does, and we would spend all our time recompiling
  367. # if we did not ignore it.  the risk is minimal, as lint should pick up any
  368. # calls to the modified function that were not modified accordingly.
  369. #
  370. # patchlev.h is the name MS-DOS uses to refer to patchlevel.h after it gets
  371. # through truncating the name, but it does not really exist
  372. #
  373. # theory of operation:
  374. #    for each file
  375. #        for each include line
  376. #            pick out filename from within ""
  377. #            delete unwanted names
  378. #            prepend ../include/
  379. #            squirrel away in hold space
  380. #        at end of file
  381. #            pick up hold space
  382. #            change newlines to spaces
  383. #            prepend file:
  384. #            change .c to .o
  385. #            add command if necessary
  386. #
  387.     for i in ${SYSCSRC} ${WINCSRC}; do \
  388.         ( echo '#include ""' | cat - $$i | \
  389.         /bin/grep '^#[     ]*include[     ]*"' | sed -n \
  390.             -e 's/[^"]*"\([^"]*\)".*/\1/' \
  391.             -e 's/patchlev.h//' \
  392.             -e 's/.*\.h/..\/include\/&/' \
  393.             -e H \
  394.             -e '$$g' -e '$$s/\n/ /g' \
  395.             -e '$$s;.*;'$$i': '$$i'&;' \
  396.             -e '$$s;\.\./[^/]*/[^/]*/\([^.]*\)\.c;\1.o;' \
  397.             -e '$$s;.*;&\
  398.         $$(CC) $$(CFLAGS) -c '$$i';p' \
  399.             >> makedep); done
  400.     for i in ${HACKCSRC}; do \
  401.         ( /bin/grep '^#[     ]*include[     ]*"' $$i | sed -n \
  402.             -e 's/[^"]*"\([^"]*\)".*/\1/' \
  403.             -e 's/patchlev.h//' \
  404.             -e 's/.*\.h/..\/include\/&/' \
  405.             -e H \
  406.             -e '$$g' -e '$$s/\n/ /g' \
  407.             -e '$$s/.*/'$$i': &/' \
  408.             -e '$$s/\.c:/.o:/p' \
  409.             >> makedep); done
  410.     for i in ${HACKINCL}; do \
  411.         ( /bin/grep '^#[     ]*include[     ]*"' ../include/$$i | sed -n \
  412.             -e 's/[^"]*"\([^"]*\)".*/\1/' \
  413.             -e 's/extern.h//' \
  414.             -e 's/.*\.h/..\/include\/&/' \
  415.             -e H \
  416.             -e '$$g' -e '$$s/\n/ /g' \
  417.             -e '$$s/.*/..\/include\/'$$i': &\
  418.         touch ..\/include\/'$$i/p \
  419.             >> makedep); done
  420.     @echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
  421.     @echo '$$r makedep' >>eddep
  422.     @echo 'w' >>eddep
  423.     @cp Makefile Makefile.bak
  424.     ed - Makefile < eddep
  425.     @rm -f eddep makedep
  426.     @echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
  427.     @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
  428.     @echo '# see make depend above' >> Makefile
  429.     - diff Makefile.bak Makefile
  430.     @rm -f Makefile.bak
  431.  
  432. # DO NOT DELETE THIS LINE
  433.  
  434. tos.o: ../sys/atari/tos.c  ../include/hack.h ../include/termcap.h
  435.     $(CC) $(CFLAGS) -c ../sys/atari/tos.c
  436. pcmain.o: ../sys/share/pcmain.c  ../include/hack.h
  437.     $(CC) $(CFLAGS) -c ../sys/share/pcmain.c
  438. pcsys.o: ../sys/share/pcsys.c  ../include/hack.h ../include/wintty.h
  439.     $(CC) $(CFLAGS) -c ../sys/share/pcsys.c
  440. pctty.o: ../sys/share/pctty.c  ../include/hack.h ../include/wintty.h
  441.     $(CC) $(CFLAGS) -c ../sys/share/pctty.c
  442. pcunix.o: ../sys/share/pcunix.c  ../include/hack.h
  443.     $(CC) $(CFLAGS) -c ../sys/share/pcunix.c
  444. random.o: ../sys/share/random.c  ../include/hack.h
  445.     $(CC) $(CFLAGS) -c ../sys/share/random.c
  446. ioctl.o: ../sys/unix/ioctl.c  ../include/hack.h ../include/termcap.h
  447.     $(CC) $(CFLAGS) -c ../sys/unix/ioctl.c
  448. unixmain.o: ../sys/unix/unixmain.c  ../include/hack.h
  449.     $(CC) $(CFLAGS) -c ../sys/unix/unixmain.c
  450. unixtty.o: ../sys/unix/unixtty.c  ../include/hack.h
  451.     $(CC) $(CFLAGS) -c ../sys/unix/unixtty.c
  452. unixunix.o: ../sys/unix/unixunix.c  ../include/hack.h
  453.     $(CC) $(CFLAGS) -c ../sys/unix/unixunix.c
  454. getline.o: ../win/tty/getline.c  ../include/hack.h ../include/wintty.h ../include/func_tab.h
  455.     $(CC) $(CFLAGS) -c ../win/tty/getline.c
  456. termcap.o: ../win/tty/termcap.c  ../include/hack.h ../include/wintty.h ../include/termcap.h
  457.     $(CC) $(CFLAGS) -c ../win/tty/termcap.c
  458. topl.o: ../win/tty/topl.c  ../include/hack.h ../include/termcap.h ../include/wintty.h
  459.     $(CC) $(CFLAGS) -c ../win/tty/topl.c
  460. wintty.o: ../win/tty/wintty.c  ../include/hack.h ../include/termcap.h ../include/wintty.h
  461.     $(CC) $(CFLAGS) -c ../win/tty/wintty.c
  462. Window.o: ../win/X11/Window.c  ../include/WindowP.h ../include/config.h
  463.     $(CC) $(CFLAGS) -c ../win/X11/Window.c
  464. dialogs.o: ../win/X11/dialogs.c  ../include/config.h
  465.     $(CC) $(CFLAGS) -c ../win/X11/dialogs.c
  466. winX.o: ../win/X11/winX.c  ../include/hack.h ../include/winX.h \
  467.         ../win/X11/nh72icon ../win/X11/nh56icon ../win/X11/nh32icon
  468.     $(CC) $(CFLAGS) -c ../win/X11/winX.c
  469. winmap.o: ../win/X11/winmap.c  ../include/Window.h ../include/hack.h ../include/winX.h
  470.     $(CC) $(CFLAGS) -c ../win/X11/winmap.c
  471. winmenu.o: ../win/X11/winmenu.c  ../include/hack.h ../include/winX.h
  472.     $(CC) $(CFLAGS) -c ../win/X11/winmenu.c
  473. winmesg.o: ../win/X11/winmesg.c  ../include/Window.h ../include/hack.h ../include/winX.h
  474.     $(CC) $(CFLAGS) -c ../win/X11/winmesg.c
  475. winmisc.o: ../win/X11/winmisc.c  ../include/hack.h ../include/func_tab.h ../include/winX.h
  476.     $(CC) $(CFLAGS) -c ../win/X11/winmisc.c
  477. winstat.o: ../win/X11/winstat.c  ../include/hack.h ../include/winX.h
  478.     $(CC) $(CFLAGS) -c ../win/X11/winstat.c
  479. wintext.o: ../win/X11/wintext.c  ../include/hack.h ../include/winX.h
  480.     $(CC) $(CFLAGS) -c ../win/X11/wintext.c
  481. winval.o: ../win/X11/winval.c  ../include/config.h
  482.     $(CC) $(CFLAGS) -c ../win/X11/winval.c
  483. allmain.o:  ../include/hack.h
  484. alloc.o:  ../include/config.h
  485. apply.o:  ../include/hack.h ../include/edog.h
  486. artifact.o:  ../include/hack.h ../include/artifact.h ../include/artilist.h
  487. attrib.o:  ../include/hack.h ../include/artifact.h
  488. ball.o:  ../include/hack.h
  489. bones.o:  ../include/hack.h ../include/lev.h
  490. botl.o:  ../include/hack.h
  491. cmd.o:  ../include/hack.h ../include/func_tab.h
  492. dbridge.o:  ../include/hack.h
  493. decl.o:  ../include/hack.h ../include/quest.h
  494. detect.o:  ../include/hack.h ../include/artifact.h
  495. display.o:  ../include/hack.h
  496. do.o:  ../include/hack.h ../include/lev.h
  497. do_name.o:  ../include/hack.h
  498. do_wear.o:  ../include/hack.h
  499. dog.o:  ../include/hack.h ../include/edog.h
  500. dogmove.o:  ../include/hack.h ../include/mfndpos.h ../include/edog.h
  501. dokick.o:  ../include/hack.h ../include/eshk.h
  502. dothrow.o:  ../include/hack.h
  503. drawing.o:  ../include/hack.h ../include/termcap.h
  504. dungeon.o:  ../include/hack.h ../include/dgn_file.h
  505. eat.o:  ../include/hack.h
  506. end.o:  ../include/hack.h ../include/eshk.h
  507. engrave.o:  ../include/hack.h ../include/lev.h
  508. exper.o:  ../include/hack.h
  509. explode.o:  ../include/hack.h
  510. extralev.o:  ../include/hack.h
  511. files.o:  ../include/hack.h
  512. fountain.o:  ../include/hack.h
  513. hack.o:  ../include/hack.h
  514. hacklib.o:  ../include/hack.h
  515. invent.o:  ../include/hack.h ../include/artifact.h
  516. lock.o:  ../include/hack.h
  517. mail.o:  ../include/hack.h ../include/mail.h
  518. makemon.o:  ../include/hack.h ../include/epri.h ../include/emin.h
  519. mcastu.o:  ../include/hack.h
  520. mhitm.o:  ../include/hack.h ../include/artifact.h ../include/edog.h
  521. mhitu.o:  ../include/hack.h ../include/artifact.h ../include/edog.h
  522. minion.o:  ../include/hack.h ../include/emin.h ../include/epri.h
  523. mklev.o:  ../include/hack.h
  524. mkmap.o:  ../include/hack.h ../include/sp_lev.h
  525. mkmaze.o:  ../include/hack.h ../include/sp_lev.h
  526. mkobj.o:  ../include/hack.h ../include/artifact.h ../include/prop.h
  527. mkroom.o:  ../include/hack.h
  528. mon.o:  ../include/hack.h ../include/mfndpos.h ../include/edog.h
  529. mondata.o:  ../include/hack.h ../include/eshk.h ../include/epri.h
  530. monmove.o:  ../include/hack.h ../include/mfndpos.h ../include/artifact.h
  531. monst.o:  ../include/config.h ../include/permonst.h ../include/monsym.h ../include/eshk.h \
  532.         ../include/vault.h ../include/epri.h ../include/color.h
  533. mplayer.o:  ../include/hack.h
  534. mthrowu.o:  ../include/hack.h
  535. muse.o:  ../include/hack.h
  536. music.o:  ../include/hack.h #interp.c
  537. o_init.o:  ../include/hack.h
  538. objects.o:  ../include/config.h ../include/obj.h ../include/objclass.h ../include/prop.h ../include/color.h objects.c
  539. objnam.o:  ../include/hack.h
  540. options.o:  ../include/config.h ../include/objclass.h ../include/flag.h ../include/hack.h ../include/termcap.h
  541. pager.o:  ../include/hack.h
  542. pickup.o:  ../include/hack.h
  543. pline.o:  ../include/hack.h ../include/epri.h
  544. polyself.o:  ../include/hack.h
  545. potion.o:  ../include/hack.h
  546. pray.o:  ../include/hack.h ../include/epri.h
  547. priest.o:  ../include/hack.h ../include/mfndpos.h ../include/eshk.h ../include/epri.h ../include/emin.h
  548. quest.o:  ../include/hack.h ../include/quest.h ../include/qtext.h
  549. questpgr.o:  ../include/hack.h ../include/qtext.h
  550. read.o:  ../include/hack.h
  551. rect.o:  ../include/hack.h
  552. restore.o:  ../include/hack.h ../include/lev.h ../include/termcap.h ../include/quest.h
  553. rip.o:  ../include/hack.h
  554. rnd.o:  ../include/hack.h
  555. rumors.o:  ../include/hack.h
  556. save.o:  ../include/hack.h ../include/lev.h ../include/quest.h
  557. shk.o:  ../include/hack.h ../include/eshk.h
  558. shknam.o:  ../include/hack.h ../include/eshk.h
  559. sit.o:  ../include/hack.h ../include/artifact.h
  560. sounds.o:  ../include/hack.h ../include/edog.h
  561. sp_lev.o:  ../include/hack.h ../include/sp_lev.h ../include/rect.h
  562. spell.o:  ../include/hack.h
  563. steal.o:  ../include/hack.h
  564. timeout.o:  ../include/hack.h
  565. topten.o:  ../include/hack.h
  566. track.o:  ../include/hack.h
  567. trap.o:  ../include/hack.h
  568. u_init.o:  ../include/hack.h
  569. uhitm.o:  ../include/hack.h
  570. vault.o:  ../include/hack.h ../include/vault.h
  571. version.o:  ../include/hack.h ../include/date.h  ../include/patchlevel.h
  572. vision.o:  ../include/hack.h ../include/vis_tab.h
  573. weapon.o:  ../include/hack.h
  574. were.o:  ../include/hack.h
  575. wield.o:  ../include/hack.h
  576. windows.o:  ../include/hack.h ../include/wintty.h
  577. wizard.o:  ../include/hack.h ../include/qtext.h
  578. worm.o:  ../include/hack.h ../include/lev.h
  579. worn.o:  ../include/hack.h
  580. write.o:  ../include/hack.h
  581. zap.o:  ../include/hack.h
  582. ../include/amiconf.h:  ../include/micro.h ../include/pcconf.h
  583.     touch ../include/amiconf.h
  584. ../include/config.h:  ../include/tradstdc.h ../include/global.h
  585.     touch ../include/config.h
  586. ../include/decl.h:  ../include/quest.h ../include/spell.h ../include/color.h ../include/obj.h \
  587.         ../include/you.h ../include/onames.h ../include/pm.h
  588.     touch ../include/decl.h
  589. ../include/display.h:  ../include/vision.h ../include/mondata.h
  590.     touch ../include/display.h
  591. ../include/dungeon.h:  ../include/align.h
  592.     touch ../include/dungeon.h
  593. ../include/emin.h:  ../include/dungeon.h
  594.     touch ../include/emin.h
  595. ../include/epri.h:  ../include/dungeon.h ../include/align.h
  596.     touch ../include/epri.h
  597. ../include/eshk.h:  ../include/dungeon.h
  598.     touch ../include/eshk.h
  599. ../include/global.h:  ../include/coord.h ../include/vmsconf.h ../include/unixconf.h \
  600.         ../include/os2conf.h ../include/pcconf.h ../include/tosconf.h \
  601.         ../include/amiconf.h ../include/macconf.h ../include/ntconf.h
  602.     touch ../include/global.h
  603. ../include/hack.h:  ../include/config.h ../include/dungeon.h ../include/monsym.h \
  604.         ../include/mkroom.h ../include/objclass.h ../include/decl.h \
  605.         ../include/trap.h ../include/flag.h ../include/rm.h ../include/vision.h \
  606.         ../include/display.h ../include/wintype.h ../include/engrave.h \
  607.         ../include/rect.h  ../include/winprocs.h ../include/wintty.h ../include/trampoli.h
  608.     touch ../include/hack.h
  609. ../include/macconf.h:  ../include/system.h
  610.     touch ../include/macconf.h
  611. ../include/mondata.h:  ../include/align.h
  612.     touch ../include/mondata.h
  613. ../include/monst.h:  ../include/align.h
  614.     touch ../include/monst.h
  615. ../include/os2conf.h:  ../include/micro.h ../include/system.h
  616.     touch ../include/os2conf.h
  617. ../include/pcconf.h:  ../include/micro.h ../include/system.h
  618.     touch ../include/pcconf.h
  619. ../include/permonst.h:  ../include/monattk.h ../include/monflag.h ../include/align.h
  620.     touch ../include/permonst.h
  621. ../include/rm.h:  ../include/align.h
  622.     touch ../include/rm.h
  623. ../include/sp_lev.h:  ../include/align.h
  624.     touch ../include/sp_lev.h
  625. ../include/tosconf.h:  ../include/micro.h ../include/pcconf.h
  626.     touch ../include/tosconf.h
  627. ../include/unixconf.h:  ../include/system.h
  628.     touch ../include/unixconf.h
  629. ../include/vault.h:  ../include/dungeon.h
  630.     touch ../include/vault.h
  631. ../include/vmsconf.h:  ../include/system.h
  632.     touch ../include/vmsconf.h
  633. ../include/you.h:  ../include/align.h ../include/attrib.h ../include/monst.h ../include/youprop.h
  634.     touch ../include/you.h
  635. ../include/youprop.h:  ../include/prop.h ../include/permonst.h ../include/mondata.h ../include/pm.h
  636.     touch ../include/youprop.h
  637. # DEPENDENCIES MUST END AT END OF FILE
  638. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  639. # see make depend above
  640.